package com.mes.cloud.api.dto.request.role;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Set;

import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.*;
import javax.validation.constraints.NotNull;

/**
 * 角色岗位类型关联表
 * 
 * @author wxm
 * @version 2019-08-03 14:47:34
 * @email xiaomin.wu1@pactera.com
 */
@Data
public class BindPositionTypeRequest implements Serializable{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色ID", required = true)
    @NotEmpty(message = "roleId不能为空")
    private String roleId;

    @ApiModelProperty(value = "岗位类型id集合", required = true)
    @NotEmpty(message = "ids不能为空")
    private Set<String> ids;

}
